EasyForm.setup do |config|

  config.wrappers :default, class: 'form-group', error_class: 'has-error' do |b|
    b.use :placeholder
    b.optional :maxlength
    b.optional :pattern
    b.optional :min_max
    b.optional :readonly
    b.use :label, class: 'control-label'
    b.use :input, class: 'form-control'
    b.use :full_error, wrap_with: {tag: :span, class: 'help-block'}
  end

end